import { request } from '@/utils'

export function edit(data) {
  return request({
    url: `/commonRecords/update`,
    method: 'put',
    data,
  })
}

export function del(params) {
  return request({
    url: `/commonRecords/delete`,
    method: 'delete',
    params,
  })
}
